diff options
-rw-r--r-- | src/FbWinFrame.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 4ceaffe..7e3af6a 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWinFrame.cc,v 1.65 2003/12/11 12:48:39 rathnor Exp $ | 22 | // $Id: FbWinFrame.cc,v 1.66 2003/12/16 12:46:14 rathnor Exp $ |
23 | 23 | ||
24 | #include "FbWinFrame.hh" | 24 | #include "FbWinFrame.hh" |
25 | 25 | ||
@@ -1171,9 +1171,6 @@ void FbWinFrame::renderButtonActive(FbTk::TextButton &button) { | |||
1171 | button.setBorderWidth(1); | 1171 | button.setBorderWidth(1); |
1172 | button.setAlpha(theme().alpha()); | 1172 | button.setAlpha(theme().alpha()); |
1173 | 1173 | ||
1174 | if (m_label_active_pm == 0) | ||
1175 | m_label_active_pm = m_label_unfocused_pm; | ||
1176 | |||
1177 | if (m_label_active_pm != 0) { | 1174 | if (m_label_active_pm != 0) { |
1178 | // already set | 1175 | // already set |
1179 | if (button.backgroundPixmap() != m_label_active_pm) | 1176 | if (button.backgroundPixmap() != m_label_active_pm) |