scrollbar bug fixed
This commit is contained in:
parent
58b3843e94
commit
0510b47a93
1 changed files with 4 additions and 0 deletions
|
@ -27,11 +27,13 @@
|
|||
#include <QSpacerItem>
|
||||
#include <QMessageBox>
|
||||
#include <QFileDialog>
|
||||
#include <QScrollBar>
|
||||
#include <QFileInfo>
|
||||
#include <QPalette>
|
||||
#include <QRegExp>
|
||||
#include <QDebug>
|
||||
#include <QColor>
|
||||
#include <QTimer>
|
||||
#include <QFile>
|
||||
#include <QUrl>
|
||||
#include <QDir>
|
||||
|
@ -345,10 +347,12 @@ void ProfileInterface::on_profileWidgetDeselected()
|
|||
{
|
||||
if (selectedWidgts == 1)
|
||||
{
|
||||
int scrollBarValue = ui->saProfile->verticalScrollBar()->value();
|
||||
foreach(ProfileWidget *widget, widgets.keys())
|
||||
{
|
||||
widget->setSelectionMode(false);
|
||||
}
|
||||
ui->saProfile->verticalScrollBar()->setValue(scrollBarValue);
|
||||
}
|
||||
selectedWidgts--;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue