changed darktable.current_view().name to darktable.current_view().id for view check because name is translated and id is not.
This commit is contained in:
@@ -209,7 +209,7 @@ update_combobox_choices(exec_man.selector, exec_table, 1)
|
||||
-- register the lib
|
||||
|
||||
|
||||
if dt.gui.current_view().name == "lighttable" then
|
||||
if dt.gui.current_view().id == "lighttable" then
|
||||
install_module()
|
||||
else
|
||||
if not exec_man.event_registered then
|
||||
|
||||
@@ -764,7 +764,7 @@ sm.main_box = dt.new_widget("box"){
|
||||
-- D A R K T A B L E I N T E G R A T I O N
|
||||
-- - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if dt.gui.current_view().name == "lighttable" then
|
||||
if dt.gui.current_view().id == "lighttable" then
|
||||
install_module()
|
||||
else
|
||||
if not sm.event_registered then
|
||||
|
||||
Reference in New Issue
Block a user