Summary: | GUI columns are duplicated | ||
---|---|---|---|
Product: | [Applications] kdf | Reporter: | Oleg Atamanenko <oleg.atamanenko+kde> |
Component: | general | Assignee: | Michael Kropfberger <michael.kropfberger> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
KDF Screenshot with incorrect GUI.
Patch to fix duplicated columns |
Description
Oleg Atamanenko
2008-02-10 08:10:42 UTC
Created attachment 23512 [details]
KDF Screenshot with incorrect GUI.
makeColumns() is called multiple times, so this function should remove any columns before adding new ones. A simple for (int i = 0; i < mList->columns(); ++i) mList->removeColumn(i); before adding the columns should help (similar code is in the comment, I do not understand why it was removed). Created attachment 25307 [details]
Patch to fix duplicated columns
SVN commit 822558 by aacid: Fix GUI columns are duplicated Patch by Christoph Feck BUG: 157577 M +2 -0 kdfwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=822558 |