mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-01 05:33:49 +08:00
ui: emit panel refresh signal from Platform Selector (#891)
This commit is contained in:
@@ -62,6 +62,7 @@ void PlatformSelector::refresh(bool _offroad) {
|
||||
}
|
||||
}
|
||||
setEnabled(true);
|
||||
emit refreshPanel();
|
||||
|
||||
offroad = _offroad;
|
||||
}
|
||||
|
||||
@@ -19,6 +19,9 @@ public:
|
||||
public slots:
|
||||
void refresh(bool _offroad);
|
||||
|
||||
signals:
|
||||
void refreshPanel();
|
||||
|
||||
private:
|
||||
void searchPlatforms(const QString &query);
|
||||
void setPlatform(const QString &platform = "");
|
||||
|
||||
Reference in New Issue
Block a user