Enable section toggle
This commit is contained in:
@@ -140,9 +140,6 @@ void XQMainWindow::initMainWindow()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//! slot für zentrales undo
|
||||
|
||||
void XQMainWindow::onUndo()
|
||||
@@ -244,7 +241,7 @@ void XQMainWindow::onAbout()
|
||||
QMessageBox msgBox(QMessageBox::NoIcon, "About", "", QMessageBox::Ok);
|
||||
|
||||
QString text = "<b>xtree concept</b><br>";
|
||||
text += "2024 c.holzheuer<br><br>";
|
||||
text += "2024-2025 c.holzheuer<br><br>";
|
||||
text += "<a href=\"https://sourceworx.org/xtree\">sourceworx.org/xtree</a>";
|
||||
|
||||
msgBox.setTextFormat(Qt::RichText); // This allows you to click the link
|
||||
@@ -292,7 +289,7 @@ void XQMainWindow::onTreeViewItemChanged(const XQItem& item )
|
||||
{
|
||||
qDebug() << " --- should toggle: " << item.text();
|
||||
XQViewModel& childModel = *_documentStore[idx].viewModel;
|
||||
childModel.toggleSection(item.text());
|
||||
childModel.onToggleSection(item.text());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user