Print debug entry on unspecified synctex editor

This commit is contained in:
Sebastian Ramacher 2018-06-02 20:27:15 +02:00
parent 18ae9da3e1
commit ae07020a0d

View File

@ -739,7 +739,6 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e
bool synctex = false;
girara_setting_get(zathura->ui.session, "synctex", &synctex);
if (synctex == false) {
return;
}
@ -751,6 +750,7 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e
char* editor = NULL;
girara_setting_get(zathura->ui.session, "synctex-editor-command", &editor);
if (editor == NULL || *editor == '\0') {
girara_debug("No SyncTeX editor specified.");
g_free(editor);
return;
}