diff options
Diffstat (limited to 'src/Container.cc')
-rw-r--r-- | src/Container.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Container.cc b/src/Container.cc index 76d8d52..be3a57b 100644 --- a/src/Container.cc +++ b/src/Container.cc | |||
@@ -260,7 +260,10 @@ void Container::setSelected(int pos) { | |||
260 | } | 260 | } |
261 | 261 | ||
262 | void Container::setMaxSizePerClient(unsigned int size) { | 262 | void Container::setMaxSizePerClient(unsigned int size) { |
263 | m_max_size_per_client = size; | 263 | if (size != m_max_size_per_client) { |
264 | m_max_size_per_client = size; | ||
265 | repositionItems(); | ||
266 | } | ||
264 | } | 267 | } |
265 | 268 | ||
266 | void Container::setMaxTotalSize(unsigned int size) { | 269 | void Container::setMaxTotalSize(unsigned int size) { |