mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 09:30:41 +08:00
Add locate for Variable Types and Variable Statics.
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
|
||||
SeerFunctionBrowserWidget::SeerFunctionBrowserWidget (QWidget* parent) : QWidget(parent) {
|
||||
|
||||
// Set the state.
|
||||
_id = Seer::createID();
|
||||
|
||||
// Construct the UI.
|
||||
setupUi(this);
|
||||
|
||||
@@ -39,7 +42,7 @@ void SeerFunctionBrowserWidget::handleText (const QString& text) {
|
||||
|
||||
QApplication::setOverrideCursor(Qt::BusyCursor);
|
||||
|
||||
if (text.startsWith("^done,symbols={") && text.endsWith("}")) {
|
||||
if (text.startsWith(QString::number(_id) + "^done,symbols={") && text.endsWith("}")) {
|
||||
|
||||
functionTreeWidget->clear();
|
||||
functionTreeWidget->setSortingEnabled(false);
|
||||
@@ -150,7 +153,7 @@ void SeerFunctionBrowserWidget::handleSearchLineEdit () {
|
||||
functionTreeWidget->resizeColumnToContents(5);
|
||||
|
||||
if (functionSearchLineEdit->text() != "") {
|
||||
emit refreshFunctionList(functionSearchLineEdit->text());
|
||||
emit refreshFunctionList(_id, functionSearchLineEdit->text());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user