From: Marco van Wieringen Date: Thu, 16 Feb 2012 21:08:06 +0000 (+0100) Subject: Insert the slot field as a numeric field. X-Git-Tag: Release-7.0.0~280 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52887b81f80030e0f5352a295badfdb45be4983c;p=bacula%2Fbacula Insert the slot field as a numeric field. The sorting in mediaview doesn't work well as the slot field is added as a text field not a numeric field. --- diff --git a/bacula/src/qt-console/medialist/mediaview.cpp b/bacula/src/qt-console/medialist/mediaview.cpp index 6f8f28240d..6c31687964 100644 --- a/bacula/src/qt-console/medialist/mediaview.cpp +++ b/bacula/src/qt-console/medialist/mediaview.cpp @@ -351,7 +351,7 @@ void MediaView::populateTable() mediaitem.setInChanger(index++, fld.next()); Slot = fld.next(); // Slot - mediaitem.setTextFld(index++, Slot); + mediaitem.setNumericFld(index++, Slot); MediaType = fld.next(); VolStatus = fld.next();