auto activate new styles after adding; new toolbox background for better
readable speed string
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 724 B |
Binary file not shown.
|
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 724 B |
@@ -977,6 +977,8 @@ void settingsDialogImpl::addGameTableStyle()
|
|||||||
newItem->setData(15,fileName);
|
newItem->setData(15,fileName);
|
||||||
newItem->setData(Qt::ToolTipRole,fileName);
|
newItem->setData(Qt::ToolTipRole,fileName);
|
||||||
listWidget_gameTableStyles->addItem(newItem);
|
listWidget_gameTableStyles->addItem(newItem);
|
||||||
|
listWidget_gameTableStyles->setCurrentItem(newItem);
|
||||||
|
pushButton_activateGameTableStyle->click();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QMessageBox::warning(this, tr("Game Table Style File Error"),
|
QMessageBox::warning(this, tr("Game Table Style File Error"),
|
||||||
@@ -1080,6 +1082,8 @@ void settingsDialogImpl::addCardDeckStyle()
|
|||||||
newItem->setData(15,fileName);
|
newItem->setData(15,fileName);
|
||||||
newItem->setData(Qt::ToolTipRole,fileName);
|
newItem->setData(Qt::ToolTipRole,fileName);
|
||||||
listWidget_cardDeckStyles->addItem(newItem);
|
listWidget_cardDeckStyles->addItem(newItem);
|
||||||
|
listWidget_cardDeckStyles->setCurrentItem(newItem);
|
||||||
|
pushButton_activateCardDeckStyle->click();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QMessageBox::warning(this, tr("Card Deck Style File Error"),
|
QMessageBox::warning(this, tr("Card Deck Style File Error"),
|
||||||
|
|||||||
Reference in New Issue
Block a user