mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
This commit is contained in:
1 parent
db14c5252c
commit
ab439144ea
3 files changed
+3
-2
No files matched your search
@@ -7,6 +7,7 @@ from gi.repository import Gdk, GObject # noqa E402
|
|||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from dzgui.const.enum import NotebookPage, ServerTab
|
from dzgui.const.enum import NotebookPage, ServerTab
|
||||||
|
from dzgui.model.model_factory import FastInsertListStore
|
||||||
|
|
||||||
|
|
||||||
# TODO: if servers fail to load, may leave dangling widgets waiting for a signal
|
# TODO: if servers fail to load, may leave dangling widgets waiting for a signal
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ from pathlib import Path
|
|||||||
from dzgui.config.query import lookup
|
from dzgui.config.query import lookup
|
||||||
from dzgui.const.constants import APPID_DAYZ, APP_NAME, LIBRARYFOLDERS_PATH
|
from dzgui.const.constants import APPID_DAYZ, APP_NAME, LIBRARYFOLDERS_PATH
|
||||||
from dzgui.const.enum import Preferences
|
from dzgui.const.enum import Preferences
|
||||||
from dzgui.strings.errors import dayz_not_installed
|
from dzgui.strings.errors import dayz_not_found
|
||||||
from dzgui.views.dialogs.early_alert import EarlyAlertDialog
|
from dzgui.views.dialogs.early_alert import EarlyAlertDialog
|
||||||
|
|
||||||
import dzgui.api.pefile as PeFile
|
import dzgui.api.pefile as PeFile
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class OfflineManager:
|
|||||||
row[-1]=True
|
row[-1]=True
|
||||||
has_duplicates = True
|
has_duplicates = True
|
||||||
|
|
||||||
func = self.emitter.emit("custom_mods_loaded", store, folder, has_duplicates)
|
func = StoredFunc(self.emitter.emit, "custom_mods_loaded", store, folder, has_duplicates)
|
||||||
self.thread_man.set_cleanup_func(func)
|
self.thread_man.set_cleanup_func(func)
|
||||||
# TODO: return store from cleanup function
|
# TODO: return store from cleanup function
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user