Update project files and build output
This commit is contained in:
@@ -15,7 +15,6 @@ from kivy.uix.popup import Popup
|
||||
from kivy.core.window import Window
|
||||
from kivy.uix.image import Image as KivyImage
|
||||
from kivy.graphics import Color, Rectangle
|
||||
from kivy.uix.filechooser import FileChooserListView
|
||||
|
||||
import os
|
||||
import threading
|
||||
@@ -646,14 +645,16 @@ printer = PDF
|
||||
|
||||
def browse_file(self, instance):
|
||||
"""Open file browser to select file to monitor"""
|
||||
# On Windows, use native dialog to avoid missing-library issues with Kivy FileChooser
|
||||
if platform.system() == 'Windows':
|
||||
# On Windows, always use native dialog to avoid Kivy FileChooser win32timezone issues in packaged apps
|
||||
if os.name == 'nt':
|
||||
selected_file = self._browse_file_windows_native()
|
||||
if selected_file:
|
||||
self.file_input.text = selected_file
|
||||
self.save_config()
|
||||
return
|
||||
|
||||
from kivy.uix.filechooser import FileChooserListView
|
||||
|
||||
content = BoxLayout(orientation='vertical', spacing=10, padding=10)
|
||||
|
||||
# File chooser
|
||||
|
||||
Reference in New Issue
Block a user