mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2018-08-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed problems with dragged carts setting the correct color when dropped on a sound panel button.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// rdbutton_dialog.cpp
|
||||
//
|
||||
// Event Editor for RDAirPlay
|
||||
// Button Editor for SoundPanel
|
||||
//
|
||||
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -32,8 +32,10 @@ RDButtonDialog::RDButtonDialog(QString station_name,
|
||||
const QString &label_template,
|
||||
RDCartDialog *cart_dialog,const QString &svcname,
|
||||
QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
//
|
||||
@@ -179,7 +181,7 @@ void RDButtonDialog::setCartData()
|
||||
void RDButtonDialog::clearCartData()
|
||||
{
|
||||
edit_cart=0;
|
||||
edit_color=backgroundColor();
|
||||
edit_color=Qt::lightGray;
|
||||
edit_color_button->setPalette(QPalette(edit_color,backgroundColor()));
|
||||
edit_label_edit->setText("");
|
||||
edit_cart_edit->setText("");
|
||||
|
Reference in New Issue
Block a user