- fix: index of the longest line not correctly updated ( which will cause selection errors)

This commit is contained in:
Roy Qu 2022-04-18 11:38:30 +08:00
parent 0d2c842317
commit 512371a6d4
2 changed files with 17 additions and 2 deletions

View File

@ -39,6 +39,12 @@ private:
protected:
void doLoad() override;
void doSave() override;
private slots:
void on_btnChooseLib_clicked();
// SettingsWidget interface
protected:
void updateIcons(const QSize &size) Q_DECL_OVERRIDE;
};
#endif // PROJECTCOMPILEPARAMATERSWIDGET_H

View File

@ -115,7 +115,14 @@
<item>
<widget class="QToolButton" name="btnChooseLib">
<property name="text">
<string>...</string>
<string>Add Library Files</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/images/newlook24/035-expolr.png</normaloff>:/icons/images/newlook24/035-expolr.png</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
</widget>
</item>
@ -128,6 +135,8 @@
</item>
</layout>
</widget>
<resources/>
<resources>
<include location="../icons.qrc"/>
</resources>
<connections/>
</ui>