mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 10:29:59 +03:00
NOISSUE when there is a version added already, preselect it in the version select dialog
This commit is contained in:
parent
57accb1cbb
commit
ef2cbe16e6
7 changed files with 73 additions and 3 deletions
|
|
@ -46,12 +46,12 @@ public:
|
|||
|
||||
BaseVersionPtr selectedVersion() const;
|
||||
|
||||
void setCurrentVersion(const QString & version);
|
||||
void setFuzzyFilter(BaseVersionList::ModelRoles role, QString filter);
|
||||
void setExactFilter(BaseVersionList::ModelRoles role, QString filter);
|
||||
void setEmptyString(QString emptyString);
|
||||
void setEmptyErrorString(QString emptyErrorString);
|
||||
void setResizeOn(int column);
|
||||
void setUseLatest(const bool useLatest);
|
||||
|
||||
private slots:
|
||||
void on_refreshButton_clicked();
|
||||
|
|
@ -61,6 +61,7 @@ private:
|
|||
void selectRecommended();
|
||||
|
||||
private:
|
||||
QString m_currentVersion;
|
||||
VersionSelectWidget *m_versionWidget = nullptr;
|
||||
QVBoxLayout *m_verticalLayout = nullptr;
|
||||
QHBoxLayout *m_horizontalLayout = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue