Remember the last selected instance and select it on startup
This commit is contained in:

committed by
Petr Mrázek

parent
eff38858ef
commit
8831856172
@ -91,7 +91,9 @@ public:
|
||||
int add(InstancePtr t);
|
||||
|
||||
/// Get an instance by ID
|
||||
InstancePtr getInstanceById(QString id);
|
||||
InstancePtr getInstanceById(QString id) const;
|
||||
|
||||
QModelIndex getInstanceIndexById(const QString &id) const;
|
||||
signals:
|
||||
void dataIsInvalid();
|
||||
|
||||
@ -106,7 +108,7 @@ slots:
|
||||
void groupChanged();
|
||||
|
||||
private:
|
||||
int getInstIndex(BaseInstance *inst);
|
||||
int getInstIndex(BaseInstance *inst) const;
|
||||
|
||||
protected:
|
||||
QString m_instDir;
|
||||
|
Reference in New Issue
Block a user