Selecting debug level via command line works as expected, but
using the GUI
        View->Messages Pane->Settings->Selected->findverbose
always sets also the level 'debug', although it is not shown so in the GUI.

I have tried to handle the value in GuiProgressView.cpp (see attached) but to 
no avail.

Jürgen, since you are expert in GUI programming, you may have an idea how to 
fix this
issue.

        Kornel

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel
diff --git a/src/frontends/qt/GuiProgressView.cpp b/src/frontends/qt/GuiProgressView.cpp
index 6c5f939f4b..c178cf1160 100644
--- a/src/frontends/qt/GuiProgressView.cpp
+++ b/src/frontends/qt/GuiProgressView.cpp
@@ -150,15 +150,15 @@ void GuiProgressView::debugMessageActivated(QTreeWidgetItem * item, int)
 }
 
 
 void GuiProgressView::levelChanged()
 {
-	unsigned int level = Debug::NONE;
+	unsigned long long level = Debug::NONE;
 	QTreeWidgetItemIterator it(widget_->debugMessagesTW);
 	while (*it) {
 		if ((*it)->text(1) == qt_("Yes"))
-			level |= (*it)->data(0, Qt::UserRole).toInt();
+			level |= (*it)->data(0, Qt::UserRole).toULongLong();
 		++it;
 	}
 	dispatch(FuncRequest(LFUN_DEBUG_LEVEL_SET, convert<string>(level)));
 }
 

Attachment: pgpDQ110KeTQv.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to